﻿<%@ page title="Dialog Widget" language="C#" masterpagefile="~/standard.master" codefile="dialog.aspx.cs" inherits="Sample.JQuery.DialogPage" %>
<asp:content id="Content" contentplaceholderid="ContentPlaceHolder" runat="server">
	<div><asp:hyperlink runat="server" id="CodeLink" navigateurl="~/code.aspx?file=dialog&title=Dialog+Widget+Code" text="View Source Code" /></div>
	<div><asp:label runat="server" id="TimestampLabel" /></div>
	<jquery:dialog runat="server" id="Dialog" title="Dialog" width="640">
		<p>
			This is the GreenIsomer ASPX implementation of the
			<jquery:themedicon runat="server" symbol="NewWin" tooltip="Opens in New Window" />
			<a href="http://jqueryui.com/demos/dialog/" target="_blank">jQuery UI Dialog Widget</a>.
		</p>
		<p>
			The post-back below is a simple ASPX button control with no UpdatePanel.
			Notice how all timestamps on the page update.
		</p>
		<asp:button runat="server" id="TraditionalPostBackButton" text="Traditional Post-back" />
		<asp:updatepanel runat="server" id="UpdatePanel">
			<contenttemplate>
				<p>
					The post-back below is inside an ATLAS UpdatePanel control.
					Notice how the timestamp on the dialog updates, while the timestamp on the page does not.
				</p>
				<asp:button runat="server" id="AtlasPostBackButton" text="UpdatePanel Post-back" />
				<asp:label runat="server" id="AtlasTimestampLabel" />
			</contenttemplate>
		</asp:updatepanel>
	</jquery:dialog>
</asp:content>